package com.javaee.term.Enums;

import lombok.Getter;

/**
 * author 陈伯瑞
 * date 2019/12/15 0015 11:45
 * version 1.0
 **/
@Getter
public enum FinshStatusEnum implements CodeEnum {

    UNFINISHED(0, "未完成"),
    FINISHED(1, "已完成"),
            ;

    private Integer code;

    private String message;

    FinshStatusEnum( Integer code, String message) {
        this.code = code;
        this.message = message;
    }
    @Override
    public Integer getCode() {
        return code;
    }
}
